import config from "@/config"
import http from "@/utils/request"

export default {
  getReportList: {
    url: `${config.API_URL}/cms/creator/monthly/report/index`,
    name: "获取report列表",
    get: async function(params){
      return await http.get(this.url,params)
    }
  },
  getReportSummary: {
    url: `${config.API_URL}/cms/creator/monthly/report`,
    name: "获取report Summary",
    get: async function(params){
      return await http.get(this.url,params)
    }
  },
  getReportSummarySum: {
    url: `${config.API_URL}/cms/creator/monthly/report/sum`,
    name: "获取report Summary total",
    get: async function(params){
      return await http.get(this.url,params)
    }
  },
  getReportDetail: {
    url: `${config.API_URL}/cms/creator/monthly/report/detail`,
    name: "report detail",
    get: async function(params){
      return await http.get(this.url,params)
    }
  },
}